waf: move around some stuff
waf: make mng check as the configure one