fix build for rhosim