fix another build problem on Solaris
fix incomplete doc tarball removal (make dist failed)