Fixed build again on OpenJDK8 due to Nashorn JavaScript Engine