build: move initram_dir to output directory
build: some error fix