Switch from sdcpp to local cpp

Required some changes to be compatible with GNU cpp