Add -Wall and fix respective warnings.