64bit compile fails on Solaris 10