Fix build on bb10 (however iconv is now not used on bb10, so let's hope they are using UTF-8 locales).