Configure: improved workaround for system perl on OS X.
Configure: improved workaround for system perl on OS X.

The workaround from baf2816d556d stopped to work because the order of
"-arch x86_64" and "-arch i386" has changed.

firebase/nginx,firebase/nginx,firebase/nginx,firebase/nginx