Refactor for Heroku

Small changes for [buildpack](https://github.com/miyagawa/heroku-buildpack-perl) compliance.