The 16F688 datasheet says it defaults to 4MHz after reset so you need to set OSCCON for 8MHz. You also need to wait until the oscillator is stable. See the OSCCON section of the datasheet for details.