Attempt to fix osx needing jvm7