gets rid of C99 math functions apparently not present with msvc