fix clang compilation