Fix all compiler warnings (for gcc>3) - Alex