build: use a common autogen-waf.sh for all builds