copy from chessx Win32NoZip branch to immediately work on windows