Fix compile error for creating workshop.