Building against shared libraries only implemented for Linux X11 so far. TODO: Document Godot's modifications of upstream enet.
Fixes #6156.