use popcnt if available on amd64
Merge pull request #19 from salviati/master

use popcnt if available on amd64