Graphserver currently segfaults in 64-bit mode. The fix is to properly declare each CDLL method's restype.