compile fix for clang