Fix broken kernel threads comp builds

$(EMC2_LIBEXEC_DIR) needs to be defined before the value of $(threads)
is computed.

Fixes #171
Merge pull request #172 from zultron/mk-pull-2

Fix broken kernel threads comp builds