Don't try to use -Wno-deprecated-register with Clang.

It doesn't work.
Merge remote-tracking branch 'upstream/master'