Fix FLT_EPSILON and some other stuff