package: use ~ syntax instead of ^

For node v0.8 compat. See #7.