Port to AMBuild 2.