Fix build failed on VS2012

use ```_copysign``` instead of ```copysign```.
VS2012 or older is only have ```_copysign``` and ```_copysignl```. (http://msdn.microsoft.com/en-us/library/0yafk1hc%28v=vs.110%29.aspx)