The installer script is looking for
Code:
/lib/modules/$(uname -r)/build/Kbuild
to ensure that kernel headers are available for a running kernel. Ensure the headers are indeed installed, then change or remove the line to match files available on Debian.
Hope this helps.
Michal