This should probably be in a separate block. ctypes and `__main__` are unrelated.