Explicitly added `-lstdc++` to the link flags.
Merge pull request #1 from smly/explicitly-add-lstdcpp

Compile issue caused by linking the code with gcc