update MATLAB include dir and an option to turn on/off the matlab build
added some comments