Fixed some (silenced others) clang warnings
more to analyze and fix for linux