Fixing compilation compatibility
Merge pull request #4 from mic159/master

Fixing ptrdiff_t compilation issues