hooks/root_locale: set libdir suffix for multi-arch