XC16 Compiler support/few minor bug fixed