Deprecate the use of readlink in all bash script file in order to make it works on Mac