fixes for libnotify autoconf option, issue #246