Fixing PHP lib directory building.