Fixed some DLL related warnings.