Fix compilation issue with abs() on windows.