conditionally set include dirs and install rules (e.g. --has-libuv)