Install the libncurses5-dev:i386 package to get the correct symlinks.