make fltcalc.c more portable (and msvc independent)