Don't set DEBUG_CFLAGS to -g, if -g is already in CFLAGS
Explicitly check for C++ preprocessor, otherwise autoconf forces it onto us at the wrong place (subsequent autoconf checks failed).
libzend -> Zend
1234567