...
sudo apt-get remove libgmp-dev
wget -c http://mpir.org/mpir-2.7.2.tar.bz2
tar xjf mpir-2.7.2.tar.bz2
cd mpir
./configure --enable-gmpcompat
make
sudo make install
cd ..
cd steem
cmake ...
By the way, an earlier version of 's patch will link libgmp dynamically, don't know if it's fixed.
RE: How to improve Steem mining performance