Fix compiler warning when changing from gcc to clang
Fix build after changing from gcc to clang