i reckon this should be changed to something like:
```
enum EKNNMode 
{ 
  BruteForce,
  CoverTree,
#ifdef HAVE_NANOFLANN
KDTree 
#endif
};
```
as `KDTree` mode is only available if nanoflann is available or?