some fixes for Python on Slackware 14