Use -fsyntax-only instead of -c when checking syntax