Make compilable on Cygwin
Fix default directory at "Open a file" dialog on Cygwin
Merge pull request #1034 from JoesCat/master

Library version values upgraded accordingly (2.0 or higher)
Merge pull request #1028 from MihailJP/cygwinfix

Make compilable on Cygwin