Fixed OB compiler error

- Reworked keyvalues_c moule