build localized versions of the library