try setting some environment variables to get the toplevel Makefile to work as Apple intended

Change-Id: I22e15c14c87af05afc98495b79f4c9be46af4b31
these should have gone in the previous commit

Change-Id: I175b76754a9506125f1db3cfde9a0cdbfbc0567f