Just setting a default value for PREFIX should have the same result as an explicit check for an empty INSTALLROOT variable.