Fixing HookResolveTest for running on Windows