Fix compilation options

Replace -c compilation option by -fsyntax-only to not generate any file