minor changes to ensure smooth deployment with macports

1) avoid entering MAC_INTEGRATION mode
2) avoid picking up libnotify support
3) avoid unnecessary installation of icons when the gui is not going to
be installed
Merge branch 'master' into devel