Support running in Phusion Passenger

See http://grokbase.com/p/gg/compoundjs/1417ect922/2242-why-does-compoundjs-need-if-module-parent for explanation.