[build] On MacOS always export the environment variables we need

This is a slightly better approach to making sure the environment is
correct. If DYLD_FALLBACK_LIBRARY_PATH is unset then we can assume
the user has not set up the other two exports we require in order to
build and so we export all three at once.