Sync logging in examples
Use stdcall convention on windows (see Burgestrand/libspotify#5)