Use Q_OS_OSX instead of Q_OS_MAC
Waiting for the moment when Q_OS_OSX gets deprecated for Q_OS_MACOS...