Added simple #ifdef to allow building against older SDKs