#171: Fix compatibility with sonar 3.7
Merge pull request #181 from jmecosta/bugfix/171-3.7-compatibility

#171: Fix compatibility with sonar 3.7