Changed Q_WS_MACX to Q_OS_MACX for mac builds