fixed linking on Windows.
cosmetics.