Sideport of OPM/opm-material@48f6d4d to opm-core

Enable use of CMake post-2.8.3 features on earlier versions, e.g. Ubuntu 10.04. This is currently not used by opm-core, and is just to align all the .cmake files across projects. (will later be propagated to all the other projects)