Compile for Java 6

Closes #31.