Fix dll cpy problem in Release configuration