fixes for debug mode
Merge branch 'devel' of https://github.com/embree/embree into devel