F fixes for micros

minor fixes after compiling on windows with clang