mkc_check_compiler: fix for gcc that needs .c extension with -E