Fix compilation command generation