handle g++ not being installed