x11: fix build for clang