add fvisibility-inlines-hidden when compiling with PCL support