switch to java compiler level 1.7 (for travisci compatibility)