build: Remove duplicate -g in cc command.