Fix compilation when PKG_CONFIG_PATH is not in environ

Continued from [108](https://github.com/UpstandingHackers/hammer/pull/108).