fixed DragonFlyBSD support