Speed up compiler compilation for Java 1.7

Manually tested on Mac, Win, Linux platforms.
Merge pull request #13 from steida/master

Speed up compiler compilation for Java 1.7