Fix working directory for msvc build