Update 3 hooks to work with old or new hook api
All-new build.ANALYZE using modulegraph with kludge config.py
Test scripts for OS X, need minor change for Linux