Copied pcl 1.8 functions to be used in older pcl versions. They are 
not included if 1.8 is detected (the originals are used directly).