I think being attracted to children is the same as being attracted to woman or man. It's just a sexual orientation, something you are born with. And even though it sucks, you can't change it.
But acting out in it or making yourself believe it's okay if they give consent, is fuckedup. Children can't give consent and molesting them would have an impact on their whole life. I assume someone who is attracted to children likes children, and if you like children, how can you can you do something that would ruin their whole life?
But I really think that it's okay to have these feelings and that it's should be socially accepted. These people need help and support. It's unfair to hate then for how they were born. And it's also pointless. Hating them instead of helping them will only make it more likely for a child to get hurt.