fixes clang compilation