made config builder compatible to java 1.6
Merge pull request #13 from wuan/java6_compatibility

made config builder compatible to java 1.6