Made charm++ to compile and run with Solaris 2.6.