c_platform: add handling of builtin macros to base class