Fixed return for set_locale when os is Gentoo
Fixed return for get_locale if os is Gentoo