added: hook for conditionally compiled files

backport from opm-upscaling PR#100
Merge pull request #602 from akva2/add_files_hook

added: hook for conditionally compiled files