Use $config{build_file} instead of $target{build_file}