Fixed bug with platform choice.

Signed-off-by: Jenny Fisher <jennyf@uow.edu.au>