Snow Leopard: Fix update of makefiles in build.sh