use -static-libgcc on Windows
q console doesn't work in Cygwin