MS Windows compatibility: use ANSI function names