Solved!
Mplab tools 8.84 were installed and code now compiles fine!