Make HAL requirement optional and check for PolicyKit