Use POP_SIMULATOR define to comment out uncompatible code.