Fix issue where solution generation would ignore platform