Updated defines for Mac OS X 10.8

Updated the if/endif defines for use with Mac OS X 10.8.