work around broken libflann

* fixes #29, #24