Ensure compability with older versions of npm

Older versions of npm doesn't support the caret operator