build.plat: avoid type confusion in _check_feature.