Changed a java8 specific to fix the project not building.
Merge pull request #53 from tritania/fixes

Changed a java8 specific to fix the project not building.