Added Maven properties to compile with Java 7