[LIBREPORT PATCH] add build time condition for dump dir ownership schema