build: fix or suppress warnings

- activated "treat warnings as errors"
Pass this as a configure flag instead (if the aim is to lower boundaries for exposing warnings as errors). Good for developing, nightmare for releasing. This would probably make node "fail" to build everywhere.