pbrt fix for ubuntu