lib: fix make depend generation when .config is missing