qt5: Fix building with msys tools.