Fixed compiler warning and podspec