Work around old npm versions that don't understand ^ notation.