Fixed bug in Parser::setPlatform()