fix failure without preJDK7 flag
Merge pull request #8 from jozic/fix-failure-without-preJDK7-flag

fix failure without preJDK7 flag