configure: Detect libdb4 path or Fedora or EL