enable the automatic brightness
replace new liblights
enable to build liblights