Qt5 build/installation fixes