Fixed clang warnings + applied clang-modernizer