Make sure to set your webgl to be webl on itch and to play in browser rather than setting it to be Linux build, it is not Linux. Your proposed modifications sound okay.