fix M2 script for cygwin

... where *.dll files have to be added to PATH, not to
LD_LIBRARY_PATH