PHP-Version aware Namespace check for required extension.