Need to link against libm on Unix, is this needed on windows?

Will add an if to catch if mingw doesn't need it