Problem turned out to be openssl-devel packages still being present on the system. This kept the header files in the standard places, so the header files didn't match the libs.
- [PHP-INSTALL] Building 4.3.11 with openssl 0.9.7g Miles Stevenson
- Miles Stevenson