mbm-gpsd build fixes