[FIX] Revert version finding and fixes on the CMake install in windows.

Signed-off-by: Ramakrishnan P <ramakrishanan_p@kalycito.com>