Avoid warning about MaxPermSize when running with Java 8