A few casts to make the grumpy compiler happy.
Updated podspec.