Hack fix for qwt 64 bit Windows compiler warnings

These are the fixes being discussed on the vs 2013 thread. Do not merge until that discussion gives to ok.