Can't help with your programming environment/setup as we use Melabs PICBasic Pro here, but you may have a look at PIC16F886 datasheet.

Section 8 Comparator
CM1CON0 = 0 ' disable comparator
CM2CON0 = 0 ' disable comparator

Section 9 ADC
ANSEL=0 ' disable all ADC

PicAxe forum
http://www.picaxeforum.co.uk/