fix compile issue
Merge pull request #183 from qhzhou/inverted-index

fix compile issue