It's funny. I'm sure I read at least a couple Heinlein books when I was in my early teens, but I never felt they were particularly philosophical and now I can't remember a thing about them. But maybe something in them did sink in; I gather Heinlein's outlook is somewhat similar to my own. Perhaps his views just appeared so normal to me that I just never paid special attention to them.
The one book that really stands out in my mind is Mark Twain's [i]The Adventures of Huckleberry Finn.[/i] Especially the part how Huck struggles between what society has told him is right one one hand and what his own common sense and conscience tells him is right on the other. Finally he basically says, "I will go to hell, then, but do what [i]I[/i] know is right." No wonder the PC types want to ban this book.
Aside from books, I'd have to blame my brilliant but very weird older sister for setting a "bad" example for me. By the time she was about 15 years old, she seemed to have arrived at her own personal philosophy that rejected the teachings of our parents' church and most of what our society tries to mold us to, all without turning to any of the standard forms of advanced teenage rebellion, i.e. drug use, crime, sexual promiscuity, weird clothing/makeup, offbeat religious cults, etc. I guess she was so totally independent that she did not need to be a part of any alternative group that "slouched to attention," as Ian Anderson put it. A very courageous path to blaze, for one so young.