Add --with-privatelibdir build option.