Another try to fix optimization, this one is the last try

If this is not fixed in very near future (week or two), optimization
will go out of tmux.
Merge pull request #78 from DariusIII/dev

Another try to fix optimization, this one is the last try