first successful compilation, tested on Cygwin + OSX