Unwarn patch for Clang. Two of the warnings were indeed coding error.
Warnings from third-party libraries are ignored as they appear to be harmless.
For Travis CI - switch CI build to use OS X build environment.