fixed chsrc issues in oc.cc and makefile