Well, game0 is what you are creating. But I think you mean what version of g++ is used to create Dragonfly. libdragonfly-linux64.a was created via a "clean" install on Ubuntu 16:
<p><code>gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2)</code>
<p>You might try the libdragonfly-linux64-ubuntu14.a version that is also included.
But I think the main problem is your g++ version is rather old.