Move compiling to build task.