Resolved BerkeleyDB and DBFile install fail. Removed custom pthreads, already included by gcc.