Made project compile under Java 1.6.