fix: Detect g++ version correctly
fix: Recognize gcc version number by reading predefined macros
Merge pull request #166 from sheerun/fix/captures

Undefined method 'captures' during installation, fixes #151