Fix library search on Windows.