Fix compilation batch files