Added sourceCompatiblity and targetCompatibility to Java 6 (in case compilation happens on jdk 7)