Updates podspec file now os x is also supported
fixed some build warnings