Skip a sysconfig test if _ctypes is not available.

Also migrates test_sysconfig to unittest discovery.
1 file changed