Fixes #6 on modern npm installs