Switch to Metaspace over PermGen if running Java 8