rework get_config_dict to accept 'toolchain' key in build specs
for couple of minor remarks