build_conf.rb optimization