Fixed platform name checking