make 'autoreconf' work from dist tarball

We need to include VERSION for it to run.
Quiet clang warnings about unused arguments in general.

Check if we are using clang, rather than simply if we are on OS X.
Note: recent LLVM releases do not seem to need this anyway.