added macros for osx includes