* Fix a bunch of compiler warnings for gcc 4.0