r2188: adding some initial checks for DragonFly (same as FreeBSD 4.1)