Added a sed to fix the build of expect primarily on multilib builds because it was always including $prefix/lib. Now it includes $libdir.