Fix for Windows APIENTRY