Cpp build fixes

Previously if there was an issue with the CXX compiler not working, the error that would have been seen was that Ice.h was missing, when the sample fails to compile. This will give  a better error and also let the user know if they've overridden scons default CXX.