Fixed compilation of #26.

This reverts commit 2e69e9b958c320a804f9630fbb7ed0e3094fa627 ("Revert #26") and fixes compilation of pull request #26.

Signed-off-by: Alexandr Zarubkin <me21@yandex.ru>