Link against the correct library on Windows