Fix solib support so that non-svr4-solib-host x svr4-solib-target will work.