Rework fts4 rank into something that builds using gyp