A well-managed compost pile rarely draws curious animals; one possibility is that you haven't been caring for the pile as much as you should. Another possibility is that you put something you shouldn't have in the pile, such as meat or animal fat. No matter how frequently you turn it, this will draw animals to your pile.