Upgrade library dependencies (closes #20)