Windows building: Fix bugs when cl.exe does not exist in path