Removed the --std=c99 flag. It didn't accept strdup() and setegid.