Kdrefactor

Should be moved to `config.h` file ?