Latest Ubuntu 14.04 have something called Multiarch. That means, you can run 32 bit binary in a 64 bit OS. Atleast that is what i understand 🙂
You can read more about Multiarch at
So you need to install Multiarch version of TeamViewer.
Download the 32-Bit / 64-Bit Multiarch version. Double click to install.