fix mako build error