Added OSX support to podspec/tests.