Don't use arc4random_buf(), for compatibility

OS X Snow Leopard and older don't have arc4random_buf().
Redefine rand() to call arc4random().