Pass the correct arguments to build with Qt 5 support

No need for the patch as per IRC chat with apachelogger.