Added simple #ifdef to allow building against older SDKs
Merge pull request #196 from michalzelinka/master

Added simple #ifdef to allow building against older SDKs