Keep C main separate from rts lib and link it in for standalone progs