Fix various warnings and podspec problems