This patch is indeed necessary on GNU/Linux (and OS X?) using g++-4.8.x.
Here's a patch with a proposed fix for all the errors I've hit. From a discussion...
Underlinking issue on GNU/Linux