Modified Makefile in order to support kconfig