Add -Wall compiler flag and treat warnings as errors