Fix bad platform check