fix initialization of libsensors