Further simplify AMR build.