libmal rebuild