Adjust build to handle flattened dir structure in Riemann.