[dev] Fixed compiling errors.