Add configuration for C compiler
Add sesh_osapi_close function