Changing build order to detect compile-time errors more quickly
Adding (untested) C code which should take over most of the ore.search() R function