Fix Incompatibility with JDK5 source level

This was introduced by #1015 and only discovered now because CloudBees broke our Jenkins build by updating Jenkins which apparently no longer supports Maven builds running on JDK5... :scream: