my_perl exists only when built with MULTIPLICITY

use PERL_GET_CONTEXT instead to do the right thing in all cases
check if libshardcache is available before trying to build