Fixed build_apiclient.sh. Tested on python2.7 envs