Add support for FreeBSD and DragonFlyBSD
Add support to conditionally use MysSQL and/or PostgreSQL