fix building utf8 branch