def METHOD_NAME(self):
    """Avoid that a system Python is picked up when a Python module is loaded"""
    # make sure right 'python' command is used for installing pybind11
    python_root = get_software_root('Python')
    python_exe_opt = '-DPYTHON_EXECUTABLE='
    if python_root and python_exe_opt not in self.cfg['configopts']:
        configopt = python_exe_opt + os.path.join(python_root, 'bin', 'python')
        self.log.info("Adding %s to configopts since it is not specified yet", configopt)
        self.cfg.update('configopts', configopt)
    super(EB_pybind11, self).METHOD_NAME()