Fix check for featureDict on Mac