Add script to compile MB tools