build: add DragonFly BSD support in autotools

Mind reversing thr order of the files? Just like the freebsd section below.