JDK 7 Build

Added support of building with JDK 7.