Fix issue #1 with JDK 7
Merge pull request #3 from thekid/fix/issue-1-java7

Fix issue #1 with JDK 7