adapted configure to debian configure (bat, tray-monitor)