Fix warnings in Clang
All tests compiles with CMake