Updated podspec and fixes #12.