Fix incorrect error message in configure script.

We now support "freebsd" in addition to "linux", "gnu" and "beos".