Minor change to allow build with snap-0.12