Fix bug when installing not by CocoaPods