increase sanity of config checks
make Debian happy
oops duplicate OS identification
sanitized cmake setup to the point where it builds and runs on Debian 7.4
attempt at a minimum of documentation, just to know what this was anyway