Fix compilation error.
Merge pull request #9 from ihcsim/hook-parameter-error

Fix Build Error