Snow Leopard: Fix bug in creation of main Makefile