Fixed deprecation warnings that show up when building against the OS X 10.10 SDK
Merge pull request #40 from benoitsan/master

Fixed deprecation warnings