The [Rakefile](https://github.com/Maaarcocr/webview_ruby/blob/main/ext/Rakefile) that compiles the extension needs to be updated to have the correct flags for windows and linux. More info about the correct flags here: https://github.com/webview/webview#webview-for-cc-developers