This was happening when running a prefix as root, which we don't really support, but also when building a prefixed system under ROOT.
Bug #779181 suggested a variable to optionally permit this, but no one cares enough to make it work at present. I just want to fix the failures when building under ROOT.
