config: fix executable format detection on latest FreeBSD.

Submitted by: Bryan Drewery
PR: 3075
diff --git a/config b/config
index fd4b198..a019f20 100755
--- a/config
+++ b/config
@@ -756,7 +756,7 @@
 			    libc=/usr/lib/libc.so
 			else					# OpenBSD
 			    # ld searches for highest libc.so.* and so do we
-			    libc=`(ls /usr/lib/libc.so.* | tail -1) 2>/dev/null`
+			    libc=`(ls /usr/lib/libc.so.* /lib/libc.so.* | tail -1) 2>/dev/null`
 			fi
 			case "`(file -L $libc) 2>/dev/null`" in
 			*ELF*)	OUT="BSD-x86-elf" ;;