Added CMake function to automatically copy .dll files.