fixed the check to see if setup.py need to use a local glclient