Fix the compiler error on linux platform