fix passenger for linuxbrew

fix passenger for linuxbrew
If you wanted to tackle this, a pull request would be most welcome.