expect: fix build on freebsd

I am not sure if this will resolve any of the builds that are failing on hydra, but I couldn't get `expect` to build on FreeBSD 9.1 (x86_64). It was a simple library naming problem.

If anyone wants me to try building something that depends on `expect`, let me know.