Update compile

Generalize to 'build' task.