Fix class missing problem for podspec