Fixes for blink agent on Windows