Fixed WP8 build (stdcall)