Fix dependency declaration to use ~ instead of ^