fixing apache http dependency issue