remove broken compatibility macros

fix building with OS X 10.10