Modify the sd-core and sd-api to be compiled with Java 1.6.