Fix ios/OSX in rakefile