release.sh: use special sed -i call for OSX