minor changes to make the project compatible with Java 1.6 which is

required to run along with the Dalvik Machine (Android environment)