updated compile to support sensors being enabled by default