Fixed APIENTRY being undefined quirk