Successful build with threads on sparc64