Replaced PLATFORM variable with HOST_PLATFORM.
Authored by: sumolx 2009-09-01
Parent: [r2398]
Child: [r2400]