ensure g++ is installed