Fix build failure on SPARC