Include sys/types.h in various places, which fixes some compilation problems.
Update to passenger_rpm_automation branch v5, which fixes support for the master branch of Phusion Passenger