Fixed compilation warnings (clang)