Make sure JAVA_HOME points at jdk-1.8 on mac