Correct erroneous guard in Platform file