attempt to fix linking on windows