fixes for bvh build profile mode
Merge branch 'master' of https://github.com/embree/embree