No need to call getKernelDirectory statically
Merge pull request #22 from tyx/fix/call-kernel-not-static

No need to call getKernelDirectory statically