AP_BattMonitor - Fixed compile errors