Fix mako and grouper build

main.mk should be called later.