Limit version to 3.1 framework (or newer)

Mainly necessary due to changes in the Config API