Use gcc as default CC and fix CFLAGS