Fixed build error with some pythons