Fix arc4random detection.

Patch by Pascal Stumpf.