Use unicode functions instead of string functions when building for python
3