Modified for cocoapods to compile with travis