Moving non-Windows platform-specific code lower in the file again to avoid declaratio...