fixed qt5 build issues