Merge pull request #10 from gerdr/master

Build system abstractions and Cygwin cross-compile support
Fix name of setting rule in Makefile