apisearch: trivial build fixes
Merge pull request #1 from dgryski/master

apisearch: trivial build fixes.