Added table libs, clean output dirs before building