klibc/kbuild: fix building with make O=.. in the kernel

Create output directory for klib-y targets if it does not exists.
This fixes compiling with make O=.. in the kernel.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
diff --git a/scripts/Kbuild.klibc b/scripts/Kbuild.klibc
index 9101d51..bbb86f4 100644
--- a/scripts/Kbuild.klibc
+++ b/scripts/Kbuild.klibc
@@ -177,7 +177,7 @@
 output-dirs := $(dir $(kprog-dirs) $(kprog-objs))
 output-dirs += $(foreach f, $(hostprogs-y) $(targets), \
                $(if $(dir $(f)), $(dir $(f))))
-output-dirs += $(klib-dirs)
+output-dirs += $(dir $(klib-objs))
 output-dirs := $(strip $(sort $(filter-out ./,$(output-dirs))))
 
 # prefix so we get full dir