fix simulator build