partial support for out-of-tree builds of julia src
Merge pull request #8904 from JuliaLang/jn/out_of_tree_build

partial support for out-of-tree builds of julia src