Implement out-of-tree builds