Fix for Passenger version 4

This PR is for Passenger 4.0.8