Switch to build process enabling out-of-tree build and packaging