Partial Catkinization of the libsiftfast library.