Make the platform variables read-only to protect against unintended change.