Custom fix for appsa Python 2.6.