java 8 build fix