Fix AM_CONDITIONAL for upower