Minor change to allow build with snap-0.12
Merge pull request #10 from cjeast/master

Minor change to allow build with snap-0.12