Fix compatibility with VS.