small changes for simulator to work correctly on the beaglebone device