Fix build on Java 1.6.0_65
Merge pull request #648 from ikarienator/fix-build

Fix build on Java 1.6.0_65