build: fix or suppress warnings

- activated "treat warnings as errors"
Yeah, but we don't fix style just for fixing style :) Again, it adds noise to `git blame`