add log4cxx patch for amd64 build