fix locale path and locale build