Fix iOS/OSX in rakefile