Got rid of all compilation warnings under gcc