This is what was doing to get around the @__config statement:

WDTCON.0=1
OSCCON.0=0
OSCCON.1=0
TRISA.6 = 0

Is this the correct way to configure the oscillator mode to ECIO (External Clock with I/O on RA6)?