windows: fix linking