Conditionally define fallback for ANSI Windows API call.