pac4j-120: Build fails in jdk 1.8

First commit
Merge pull request #122 from leleuj/pac4j-120

pac4j-120: Build fails in jdk 1.8