added PCL 1.7 support