Improved logic for core dependency assumptions under Perl 5.8.x