When installing the pcl package, create all the parent directories as External/xbuild-frameworks might not exist.
Always remove create the symlinks for the mac package and remove the old ones.