fixed buildall script