Add version check for libnotify.

This allows node-webkit to be built on CentOS (see issues #684, #1966).