fixed platform check condition for recipe inclusion