Fix linking on Windows.