Snow Leopard: Add exec function to functions.sh + use in build.sh