Merge pull request #508 from y-higuchi/java7

Specify source compatibility mode to Java 7