PCL 1.7 support

This includes the patch by @colincsl on top of #20 and an update to PCL 1.7. Supersedes #18.