Use ^ instead of ~ for dependency versions