Calendar:fix compiling on linux