On OSX 10.9, dlfcn.h not longer includes AvailabilityMacros.h