Fix some type declarations so make check works for SPARC. Thanks to Paul Hargrove for the report and correction