Change system to systemName in build configure

Also replaces instances of SYSTEM in the configure callback function.