Split headers by directory and install separately or else the files in dom/ get installed in the parent directory.