Option to disable example building

I added a cmake option to disable building of examples.  This helps me get flann to cross-compile for the iOS simulator.  I left the default ON so this change should only affect someone who explicitly sets the option.