Change fminf/fmaxf to FFMIN/FFMAX to fix the build on broken operating systems.