Python 2.4 fixes - the ctypes module does not exist in Python versions 2.4 and lower.
This is only used for some non-essential functionality on MS Windows, so now it is deactivated if not present.
Authored by: bugman 2012-10-09
Parent: [r17785]
Child: [r17787]