introduced USE_KRNL flag to enable/disable kernel module compilation for linux (compiling kernel module in docker container fails)