segfault/flann/any.h solved - not sure how