Added platform specific compilation guard, also adding updated podspec