Work around problem with size_t paramters on callbacks (and making them work on 32 and 64 bit platforms)