Use ~ for pre-gyp semver.
Merge pull request #320 from mapnik/pre-gyp-semver

3.x: Use ~ for pre-gyp semver.