Fixed issue compiling on clang