add compat_misc.h to collect undefined functions and constants needed by olsr