build: use CMAKE_SOURCE_SUBDIR variable to cmake.mk