Tweaked to detect sizeof(int) at runtime.