Fix build on x32
Merge pull request #7 from luke-jr/x32

Fix build on x32