Small changes to adapt xdpd compilation to LLVM
Fixing tests: errors for clang compilation