Fixed an issue of missing headers when .podspec was read locally via :path or :podspec in Podfile.