BUG: compile random in lfs mode

randomkit.c uses fopen which requires LFS mode to support larger than 64
bit files on 32 bit systems.