Fix for python 2.4
Merge pull request #260 from rtoma/processmemory-selfmon-24

Fix for ProcessMemoryCollector for python 2.4