Enable -Wall and fix all warnings