Snow Leopard: Factor get settings into functions and move them to makefile_functions