fix getopt msvc emulation so that it properly recognizes '--ackmate' argument
make test runner fully work on windows