Apply FreeBSD 10 build fixes to macros/pluginsupport.m4 and regenerate aclocal.m4.
Reinstate CYGWIN test for build paths and regenerate configure.

If we change the default CYGWIN paths it will be a backwards-incompatible
change for existing setups.