Add 'build' escript for building 'mad' escript