bug fix
Merge remote-tracking branch 'mjmottram/master'
Added check for g++.
Merge pull request #113 from pgjones/gppCheck

Added check for g++.
problem with empty build flags