Merge pull request #21 from sunfishcode/size_t-long

Change size_t and friends to use `long` types.