Merge "Revert "Reapply "release_config: build flags can be lists""" into main