Fixed compiling using Clang