Java 8 compile fix