resolving arc4random error in linux