Fix bolt compilation
Merge pull request #1177 from samoht/master

Fix bolt