Remove libpfm dependency.