Added check for cmake and SWIG in FANN installer.