All optix

Fixed linux compile errors.