configure: Try to extract kernel source directory from build Makefile.