Environment#clone(): do not clone build directories
Environment#build_dir(): allow src_dir to be a regex