Update buildsys
Add a few OF_CONST_FUNC