do not use future unless tested
copy_directory will only glob C/C++/OpenCL files