Fix Phusion Passenger Standalone port checking on FreeBSD.
Fixes issue #776.