Fix macros for detecting qmake.