Tweaked to detect sizeof(int) at runtime.
Merge pull request #1 from quarnster/master

Tweaked to detect sizeof(int) at runtime