Fix notification support check for cygwin