Make solver compile.
Fix linking of generator & solver on windows. Solver now works.
Fix of crashing when exception is thrown on windows.