fix cxx flag handling in thumbs
Merge pull request #1 from imazen/master

fix cxx flag handling in thumbs