Fix compiler warnings; still 9 left on clang but have latched the Makefile to emit warnings to prevent future regression