Define WINDOWS_NO_GUI when building text mode tools