Add JDK 7 compatibility for src