clang option for linux
Several warning fixes