Add features_rebuild_on_flush variable to config