Some updates so that rails-latex will work on passenger 4