Fix Qt install process on Osx