works under cygwin with lua