Check for clang and add -Qunused-arguments to CFLAGS.