Pass RTE_KERNELDIR to static build too