add os x macros and defines to version.h