rhosimulator: eliminate some compilation warnings