beansdb: fix build with clang