I use cdparanoia (on my Linux machine), it's supposed to be one of the best. On the Windows side, EAC,
http://www.exactaudiocopy.de/ , is highly recommended for persistance. It can use any of your audio codecs for the output, or an external encoder, like Lame. I don't believe it comes with the lame library built in.