Warning fix in the shapes::Cube builder.