Fixed minor issues on compilation
Project MPlab 8 rebuilt