Why reinvent the wheel - add tinycthread as submodule
temporary fix for tinycthreads (other than this, it seems to compile fine!)
fix chan