fixed mako for both debian and redhat