Add CYGWIN compatibility

http://stackoverflow.com/questions/16634211/unable-to-access-jarfile-under-cygwin