Fixed workbench compile errors