Fixed up the CMakeLists.txt on linux.
Everything builds now.
Buffer size optimizations.
Huge amount of work.