python: Fix the build for Linuxbrew

Closes #129
postgresql: Fix the build for Linuxbrew

Closes #108