For libs/cflags this is done automatically, but not for manually accessed variables. This matches what wayland-protocols does.