Add define for identifying OSX in non-Qt code.