made config builder compatible to java 1.6

Java 1.6 is still used in a lot of projects and the new features 1.7 do not make a real difference.