WIP OSX framework C support