fix windows compiler warnings
update symdiff ref