Add required support files to the config subdirectory. Update dtest to be based on a statically linked program.