Fix compilation under MinGW.

In particular, GCC didn't like the odd ".0f" macro hackery I was doing.