Fix linking on msvc's.