Fix conditionals in libsensors