fix link errors on windows