Fix maven build with JDK below 8
Merge pull request #127 from borisbrodski/master

Fix maven build with JDK below 8