Fix compilation errors using isEqual instead of ==
Merge pull request #5 from weslly/isequal-fix

Fix compilation errors using isEqual instead of ==