Arbitrary build directory support for opm-parser and cjson

This is similar to the patches already made to opm-core. It allows for more arbitrary build directories, such as opm-parser/what-ever-suffix-you-use and opm-parser-what-ever-suffix-you-use, etc.