PIC32, XC32, timer interrupt vector not entered
I also had to turn on the global interrupts. Its somewhat of a hidden bit. 

It is a bit within the Coprocessor status register, and you can enable it by using:

__asm__("EI");


or disable it by using:

__asm__("DI");