Fix uuid on FreeBSD

In FreeBSD, just as in DARWIN, uuid functions are in libc and no external libuuid is required.
The API is quite different from Linux's though, so a different implementation of uuid () (util.cpp) is needed.
FreeBSD

- Converted __FreeBSD__ to FREEBSD for consistency.
Use the native readline library on FreeBSD as well