Add a work around, so that this plugin could be built using JDK 7