Update global_functions.sh

CentOS 6.5 issue