Similar to both #417 and #418. Fixes errors when PCL_NO_PRECOMPILE=ON