fixed sample browser compiling on iOS simulator