added: hook for conditionally compiled files

backport from opm-upscaling PR#100
Merge pull request #17 from bska/017_cmake

Synchronise build system with OPM-Core