Running `pecl install yaml` errors out with `configure: error: ‘yaml.h’ header not found`

I have PHP 7.4.14 installed via Homebrew `brew install php@7.4`
along with libyaml `brew install libyaml` but still see this same error.

I also tried reinstalling xcode dev tools, as well as running pecl with sudo and all still the same error every time. Full output from pecl below.

```
Starting to download yaml-2.2.1.tgz (40,977 bytes)
............done: 40,977 bytes
8 source files, building
running: phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
Please provide the prefix of libyaml installation [autodetect] :
building in /private/tmp/pear/temp/pear-build-mattfergusonRvLour/yaml-2.2.1
running: /private/tmp/pear/temp/yaml/configure --with-php-config=/usr/local/opt/php@7.4/bin/php-config --with-yaml
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... x86_64-apple-darwin20.2.0
checking host system type... x86_64-apple-darwin20.2.0
checking target system type... x86_64-apple-darwin20.2.0
checking for PHP prefix... /usr/local/Cellar/php@7.4/7.4.14
checking for PHP includes... -I/usr/local/Cellar/php@7.4/7.4.14/include/php -I/usr/local/Cellar/php@7.4/7.4.14/include/php/main -I/usr/local/Cellar/php@7.4/7.4.14/include/php/TSRM -I/usr/local/Cellar/php@7.4/7.4.14/include/php/Zend -I/usr/local/Cellar/php@7.4/7.4.14/include/php/ext -I/usr/local/Cellar/php@7.4/7.4.14/include/php/ext/date/lib
checking for PHP extension directory... /usr/local/Cellar/php@7.4/7.4.14/pecl/20190902
checking for PHP installed headers prefix... /usr/local/Cellar/php@7.4/7.4.14/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... no
checking for nawk... no
checking for awk... awk
checking if awk is broken... no
checking whether to enable LibYAML suppot... yes, shared
checking for yaml headers... found in /usr/local
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... no
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... yes
checking yaml.h usability... no
checking yaml.h presence... no
checking for yaml.h... no
configure: error: ‘yaml.h’ header not found
ERROR: `/private/tmp/pear/temp/yaml/configure --with-php-config=/usr/local/opt/php@7.4/bin/php-config --with-yaml’ failed

```