The example stub in libspotify fails to compile and work correctly, so I went ahead and fixed it.