Fix javadoc bug for java version prior to 8.

This option is unsuported with javadoc compiler prior to 8 and make the task failed.
Merge pull request #91 from KyuBlade/patch-1

Fix javadoc bug for java version prior to 8.