Using make -e you can override the settings in the makefile from the environment. These two settings a necessary to compile on MacOS.