Remove warnings_as_errors to compile under OTP 17.0