fix warning and compilation issue with toEmbree converters