64-bit fixes for dummy_bme.c