Don't explicitly link to libraries (use libdl instead)
Created by: jljusten
For platforms that support libdl, we should not link directly to libraries.
Instead, libwaffle should dlopen libraries at runtime.
This will allow libwaffle to be used in scenarios where the other system libraries are not installed.
For example, this should be possible:
- Build libwaffle with glx and wayland support
- Run a waffle application on wayland even if glx libraries are not installed on the system