Fix installation of LocalSolver on Windows.
Try overriding link flags.