fixed boost linking

I tried to compile in an Ubuntu 14.04 environment and did not have the issues described in #476.

It may have to do with the update (maybe?) in 14.04.1. This PR is just undoing what was done.