replace missing __DragonFly__ macros