cmake: improved Python and CPLEX configuration on Windows