* ath.c: Changes to make it work under W32.