Additional SDK headers actually break pyenv install for OSX 10.14.6 (Mojave) instead of fixing it.
https://github.com/pyenv/pyenv/wiki/common-build-problems
The instructions here state that the following command should be run on OSX 10.14+:
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
However running OSX 10.14.16 (Mojave), installing these additional SDK headers breaks my build. Reinstalling the command line tools without installing those headers allows a successful install. I believe this instruction should be amended to be limited to 10.14.0-10.14.5.