ENH: Added check for more compilers. The sstream header inclusion test isn't done where it isn't supported.