fixed building of 'fake_auth' and 'tests/protocol' on Windows