Allow to build with JDK 7 also