Snow Leopard: Fix bug in handling depencencies