Added patch for Python 2.4
Python 2.4 builds were failing due to a syntax error (see #21). This
patch hopefully solves the issue.