use shell=True when calling xbuild