Fix platform variable typo