Fixing metaspace back to permgen (JDK 1.8 versus JDK 1.7 issue)