Make iconv test more strict

Since some systems (FreeBSD) use macro magic to chose between iconv
library (GNU vs. internal) versions, including iconv.h is crucial here.
This fixed build on FreeBSD 10+ with libiconv installed from ports.