build: add support for building against Qt 5 from the win32-static build env.