builds on Cygwin. Gfx doesn't work