Fix PECL extensions compiling.

Fixes compilation of 32-bits PECL extensions on x86_64.
Previously, some compilation flags were not correctly passed to subprocesses,
leading to arch-mismatches (attempting to load 64-bits extensions with a 32-bits
PHP).