Bugfix for issue #1468

Added check if iconv is loaded
Merge pull request #1471 from mbed67/iconv_issue

Bugfix for issue #1468