Makefile: prepare for using Kbuild-style Makefile