Fix the VS 2012 build

VS 2012 doesn't have fminf or fmaxf.
fix minor comment typo