fix a mkstemp() freakout

we're already in audioFileDir so don't add it to the mkstemp() path, as it
might be a relative directory. instead just make the path the filename.

fixes #52
stop a buffer from stepping on itself under recursion

Partial fix for issue #15.
catch ECONNRESET on apple.

Second half of issue #15. This is a terrible hack. Looks like pandora
is killing the connection hard, instead of naturally. Since read()
never sees a proper EOF, this causes a cascade of errors in pbf.
Catching the ECONNRESET seems to be the best way to deal with it.

Closes #15
fix dynamic build

via @aljex. Closes #46
tweak the Makefile for OS X
Merge branch 'master' of github.com:nega0/pianobarfly
changed strcmp to strncmp in PianoFindStationByName