Updated library Find scripts, fixed a few broken things with Cmake and compiler detection on Windows.