clear error message.
remove perl prefix directory every building.