Mostly CMake changes, but there's also a few minor library
changes.
Temporarily commented out the accum test. The test builds
but one of the sub-tests fails due to a file issue.
Tested on: Ubuntu 15.04 (Linux 3.19 x86_64) gcc 4.9.2
serial w/autotools
serial w/CMake (3.3.2, w/ fortran and C++)