simplify checks for OSS using AST_EXT_LIB_CHECK;