Fix bug when using popcount() with ulong
Merge pull request #260 from kylelutz/fix-popcount-with-ulong

Fix bug when using popcount() with ulong