exporting PATH and LIBRARY_PATH automatically

inspired by https://github.com/shunjikonishi/heroku-buildpack-ffmpeg/blob/master/bin/compile