#2267: Fixed configure script to work on FreeBSD (and other Unices) where bash in not installed in /bin.