Add checking for fann version 2.2 to the config.m4