More code improvements on DragonFlyBSD