fixed build on clang