Fix python builds on linuxbrew