Make project compatible with Eclipse 3.7 and JRE 6