Prevent compiler warnings when not compiling for simulator.