Switch dependencies to use ~ instead of ^ for older node.js compatibility