Compile with optimization and warnings as errors.