Use CMake
correct OpenSIFT incompatibility with the c library