fixed compile error of SpriteTool.