Wayland dep include directories are in WAYLAND_INCLUDE_DIRS.
Don't try to use GL_MAX_VARYING_FLOATS as it's not supported by the drivers.
Remove the -Wcast-align warning.