add java 7 source compatibility