Fix compilation errors for when __thread is not supported.
Fix compilation errors for when __thread is not supported.

antek-drzewiecki/passenger,phusion/passenger,phusion/passenger,phusion/passenger,bf4/passenger,cgvarela/passenger,jawj/passenger,erikogan/passenger,pkmiec/passenger,antek-drzewiecki/passenger,clemensg/passenger,pkmiec/passenger,kewaunited/passenger,fabiokung/passenger-debian,kewaunited/passenger,bf4/passenger,jawj/passenger,gravitystorm/passenger,kewaunited/passenger,phusion/passenger,phusion/passenger,cgvarela/passenger,erikogan/passenger,openSUSE/passenger,erikogan/passenger,gravitystorm/passenger,fabiokung/passenger-debian,bf4/passenger,fabiokung/passenger-debian,erikogan/passenger,kewaunited/passenger,gravitystorm/passenger,gravitystorm/passenger,cgvarela/passenger,clemensg/passenger,jawj/passenger,bf4/passenger,antek-drzewiecki/passenger,clemensg/passenger,antek-drzewiecki/passenger,pkmiec/passenger,jawj/passenger,gravitystorm/passenger,openSUSE/passenger,antek-drzewiecki/passenger,bf4/passenger,clemensg/passenger,bf4/passenger,pkmiec/passenger,pkmiec/passenger,clemensg/passenger,phusion/passenger,fabiokung/passenger-debian,cgvarela/passenger,jawj/passenger,antek-drzewiecki/passenger,kewaunited/passenger,erikogan/passenger,erikogan/passenger,jawj/passenger,cgvarela/passenger,clemensg/passenger,phusion/passenger,cgvarela/passenger,phusion/passenger,openSUSE/passenger,kewaunited/passenger,cgvarela/passenger,clemensg/passenger,openSUSE/passenger,fabiokung/passenger-debian,openSUSE/passenger,kewaunited/passenger,fabiokung/passenger-debian,openSUSE/passenger,gravitystorm/passenger,jawj/passenger,pkmiec/passenger,antek-drzewiecki/passenger,clemensg/passenger,bf4/passenger,antek-drzewiecki/passenger,kewaunited/passenger,pkmiec/passenger,cgvarela/passenger