fixes for boost 1.56 and Qt4

Ports changes from https://aur.archlinux.org/packages/pcl/