Fix build scriot bug.