fix output path of gen_incl()