make cmake includes work correctly as subproject, with ${TEN_SOURCE_DIR}.
also simplify pathnames a bit
eliminate unused typedefs so warning need not be suppressed
Merge pull request #82 from chipdude/master

make cmake includes work correctly as subproject, kill useless typedefs
Merge branch 'master' into mpmc_overflow_fix