Some work towards using CMake 3.0.0 to build OpenCOR (#365).