Allow compilation without simulator code.