Applied @renanmartins patch for issue #85

Since this fixes the issue and helped us setting up our project on CI, I thought it would be a good idea to create this pull request for it.