Squelch some warnings on non-visual studio compilers