Avoid redefinition of isnan for VS 2013