Ensured that the 'build' task now completes before the 'finalize' task