Fix syntax error for win and linux