Various cygwin fixes and europa plugin fix