Smaller fixes and podspec file to allow installation using cocoapods