Move sourcing in platform variables to first usage.