Added support for compilation via JDK 8