Fix ant path creation.