fix MSVC - loading KD-tree index