Fix compile error
Merge pull request #701 from markewallace/FixCompileError

Fix compile error