Fixed ability to detect PECL install failures

## Fixed ability to detect PECL install failures

* `peck install` wasn't providing proper exit codes. Worked around this by detecting the package after the installation.
* Also added dependancy installing a library that at least 2 common PECL packages require for building