Made plugin possible to compile with Java 1.6.
Merge pull request #98 from shooly/master

Made plugin possible to compile with Java 1.6.