fix compile errors / update n860.cfg