made dbd crossbuild friendly