Add libjpeg and libpng shared libraries

This is necessary for my PHP build pack (http://github.com/CHH/heroku-buildpack-php) to run.
Merge pull request #35 from CHH/patch-1

Add libjpeg and libpng shared libraries