cleanups of windows pragmas to avoid gcc warnigns