Fix build on OS X Mavericks

Hiya,

With these changes Jah'Spotify builds on OS X Mavericks, at least when using an Oracle JDK. Tested with JDK 1.7.0_45-b18, maven and libspotify from Homebrew.