Multilib fixes

The first commit should be relatively safe, the other I don't know. So far I'm unable to build anything out-of-qt because of qtchooser being unable to find any Qt :).