handle strings correctly when FriBidi not installed
* fix [Debian#762075](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=762075)