Only build on supported architectures.
Merge pull request #2 from juw/changes

Fix build on ia64