Add support for out of source builddir