fix lked and have linux.mk skip build directory