Fix the symbol_presence test with a shlib_variant