Fix build with --disable-upower