Update compile to compileClient