Fix installing DLLs on Windows

This was broken by the change to include the library major version in
the DLL name.