Remove variadic macro style to support older g++ versions.
Enable C++11 support for older g++ versions.
Fix linker errors in distros with --as-needed GNU linker parameter enabled by default (e.g. Ubuntu).
Merge pull request #130 from fdelapena/master

Compiler an linker fixes for popular distros