Fixed compile error.
Merge pull request #37 from starschema/engine-refactor

Fixed compile error.