fixed compilation on linux using Clang