Fix compilation error for osx.

Without specifying the osx deployment target you are not able to pod
install on osx.
Merge pull request #2 from keisi/2.2

Fix compilation error for OS X.