Fix pack attribute for read pixels.
CMake tweak to help avoid installed pangolin errors.