Snow Leopard: update_makefiles.sh/makefile_functions.sh - Add create_tmp_makefiles + Fix some issues