add cflag option for win