fix build on s390

This fixes building on s390x. It still fails to pass the test but this might be a different issue.

http://s390.koji.fedoraproject.org/koji/getfile?taskID=1012323&name=build.log