Using CMake for Cross-Platform Development

Switched to using CMake for building. This way it will support
development efforts on any platform. Recommended: make a build
directory in the top level, run CMake command from there and open the
demo project within the build directory.