Add header file finding support. Move process output files to the build subdirs.