Minor changes to make VirtualDub work