rebuild ext before packing it