Fix implicit declaration of function on Windows.