allow to compile with old SDKs - which does not contain CoreFoundation/CFAvailability.h