python: Fix the build for Linuxbrew

Closes #129