ensure project is compiled with jdk7

as requested, closes #37