compiler: Move extension checking into compile_c
compiler: Move extension checking into compile_c

Also rename compile_c -> compile_link

scizzorz/rain,scizzorz/rain,philipdexter/rain,scizzorz/rain,philipdexter/rain,philipdexter/rain,scizzorz/rain,philipdexter/rain