Fix simulator build