Fix bitrot in serverDemo code

The code in `objects/applications/serverDemo` has bitrot quite a bit. This pull request gets it working again on Linux.

What prevents it from running on other platforms is building the C code in a cross platform manner. Previously this was done pulling in Makefile rules from the build system. In the move to CMake this no longer works. I manually added the requirements for Linux. With minor modifications it should work on Mac OS X. I'm unsure about Solaris.

Is it worth pulling these changes in to get Linux working before getting the other platforms working? As it exists now, no platforms work.