Adding OSX to podspec and making it work in OSX