add log4cpp for travis build