Check for brew and java_home before creating exports