Merge pull request #9 from jpschorr/master

Fixing issue where component vector could shrink/Use compile-time checks to select C++11 includes
Fixing g++ compatibility