Add conditional to detect in-tree build

Other modules in contrib have a block like this. cstore_fdw doesn't
need any special treatment around in-tree dependencies, so this change
is very straightforward.