Set gcc to warn all and clean up several warning messages