Fixed incorrect d.build_dir for CKAN