Fix build with --disable-upower
Merge pull request #50 from cygwinports/master

Fix build with --disable-upower