check that the Phar class exists