Compatibility with Java 5
Merge pull request #74 from simonbrandhof/master

Compatibility with Java 5