Fixes for libsensors and liblights.