Compile problems on Solaris 10