VS 2013 has fmin() and fmax()

Change-Id: Iecb8e289d94c479447b80f1d5ebc21eb2210301b