Fix batch build.