xbuild changes for PCL