auto clean directory after building