Add compiler and linker switches for 32 bit compilation if needed
Fix compile warning
Fix iconv detection
Merge pull request #4 from ekoeppen/master

32 bit compilation and iconv detection