Added build script.
Compiles on cygwin.