Update lib_features

Allow an array of possible feature flags to be passed.