Upgrade compiler plugin to 3.1