Restored check for unsupported compilers

[SVN r86387]