Fixed compilation errors.
Merge pull request #372 from stankovski/retry-block

Fixed compilation errors.