Updated libary to work with the Heroku Cedar stack. Fixes #2

I looked into it myself.  Only a few lines had to be changed.  Tell me what you think.