Fixes python compilation on linux