core: fix use of reserved C identifiers in headers (closes #31)