only export java_home on mac