add simple compile support for c