add javac options to build for java 6
Merge pull request #799 from twitter/buildforJava6

add javac options to build for java 6