Supporting smarter copy-to-build-directory.