macosx: fixed conditionals for the different OS X release by adapting to the newly updated version defines