Fixed frandom to be compiled as module